package com.itheima.pojo;

import java.io.Serializable;
import java.util.List;

public class MenuForMain implements Serializable {
    private Integer id;
    private String path;
    private String title;
    private String linkUrl;
    private String icon;
    private List<MenuForMain> children;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public List<MenuForMain> getChildren() {
        return children;
    }

    public void setChildren(List<MenuForMain> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "MenuForMain{" +
                "id=" + id +
                ", path='" + path + '\'' +
                ", title='" + title + '\'' +
                ", linkUrl='" + linkUrl + '\'' +
                ", icon='" + icon + '\'' +
                ", children=" + children +
                '}';
    }
}
